
package ga;

import java.util.Comparator;

public class PairComparator implements Comparator<Pair>{
    @Override
    public int compare(Pair p1, Pair p2) {
        return (int)(p1.getV1()- p2.getV1());
    }
}
